package com.itheima.knowledge.domain;

/**
 * @ClassName: Student
 * @Description:
 * @author: Yrd
 * @date: 2021-11-13 17:27
 */
public class Student  implements Data<String>{
    private String name;
    @Override
    public void add(String data1) {
        this.name = data1;
    }

    public String showStudent(){
        return name;
    }

    public String studentOwner(){
        return "studentOwner";
    }
}
